package junit.base;

import org.junit.Test;

/**
 * Created by zhaott on 2018/9/18.
 */
public class JunitDemo04 {

    @Test(timeout = 3000)
    public void demo04(){
        this.httpRequest();
    }

    private void httpRequest(){
        try {
            Thread.sleep((long) (Math.random() * 7000));
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }

}
